/*
Where
  torrents - show          # torrents/details.php
  torrents - artist show   # artist/artist.php
*/

.MovieInfo {
  display: grid;
  grid-template-columns: 249px 1fr;
  grid-template-rows: auto auto auto 1fr;
  padding: var(--global-space-lg);
  column-gap: var(--global-space-lg);
  row-gap: 15px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .MovieInfo {
    display: block;
  }
}

.MovieInfo-left {
  grid-row: 1/5;
}

.MovieInfo-poster {
  border-radius: var(--global-borderRadius);
  width: 250px;
  /* height: 100%;
  min-height: 375px; */
}

.MovieInfo-title {
  font-size: 30px;
  line-height: 32px;
  font-weight: 700;
  position: relative;
  bottom: 3px;
  color: var(--TableTorrent-movieInfoTitle-color);
}
.MovieInfo-title:hover {
  color: var(--TableTorrent-movieInfoTitle-color);
}

.MovieInfo-subTitle {
  display: block;
  font-size: 20px;
  margin: 0 0 5px 0;
  font-weight: 300;
}

.MovieInfo-facts {
  border-radius: var(--global-borderRadius);
  display: inline-flex;
  width: fit-content;
  margin-bottom: var(--global-space-sm);
  flex-wrap: wrap;
}

.MovieInfo-fact {
  display: flex;
  height: 100%;
  padding: 5px 10px;
  color: var(--Movieinfo-button-color);
  align-items: center;
  gap: var(--global-space-sm);
  background: var(--MovieInfo-button-background);
  border: var(--MovieInfo-button-border);
}

.MovieInfo-fact:hover {
  color: var(--Movieinfo-button-onHover-color);
  background: var(--MovieInfo-button-onHover-background);
}

.MovieInfo-fact .icon {
  width: 16px;
  height: 16px;
}

.MovieInfo-tags {
  line-height: 1.5;
  display: flex;
  gap: var(--global-space-sm);
}

.MovieInfo-tag {
  background: var(--MovieInfo-button-background);
  border: var(--MovieInfo-button-border);
  color: var(--Movieinfo-button-color);
  border-radius: var(--global-borderRadius);
  display: inline-block;
  padding: 3px 5px;
}
.MovieInfo-tag:hover {
  background: var(--MovieInfo-button-onHover-background);
  color: var(--Movieinfo-button-onHover-color);
}

.MovieInfo-synopsis {
  word-break: break-word;
}
.MovieInfo-synopsis > p {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
.MovieInfo-synopsis.overflown > p {
  cursor: pointer;
}
.MovieInfo-synopsis.expand > p {
  -webkit-line-clamp: inherit;
}

.MovieInfo-artists {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(6, 130px);
  gap: var(--global-space-sm);
}

.MovieInfo-artist {
  width: 130px;
}

.MovieInfo-artistPhoto {
  width: 100px;
  height: 150px;
  object-fit: cover;
  margin: 0 auto 5px;
  border-radius: var(--global-borderRadius);
}

.MovieInfo-artistName {
  color: var(--Movieinfo-button-color);
  width: 100px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.MovieInfo-year {
  color: var(--MovieInfo-year-color);
}

.MovieInfo-poster.empty_photo {
  content: url(../assets/no-image.svg);
  display: block;
  width: 100%;
  pointer-events: none;
}
.MovieInfo-artistPhoto.default_photo {
  content: url(../assets/no-image.svg);
  pointer-events: none;
}

.MovieInfo .lack_of_info {
  filter: grayscale(1);
}

.MovieInfo-requestInfo {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-weight: bold;
}
